CX_ENUM_TABLE
Class hierarchy
- CX_CLASS
- CX_SIMPLE
- CX_TERMED
- CX_EXPANDABLE
- CX_ENUM_TABLE
- CX_EXPANDABLE
- CX_TERMED
- CX_SIMPLE
Description:
Objects of this class represent a table for the transformation of enumerations or for the specification of discrete values. The table entries are instances of the class CX_ENUM_ENTRY.
Such tables can be loaded by the ClassiX® system and be effective system-wide; on the other hand, they can be bound to special objects and then only control the data input and output for these objects. Detailed information can be found under "Enumerations and discrete values".
Copies of the system-wide enumeration tables are kept in the enum cache and are inserted there after the first use. These cached copies can be updated via Refresh and RefreshAll .
Code example:
CreatePersObject(CX_ENUM_TABLE) -> enumTable
String(CX_ENUM_TABLE::uniqueID, 110, 3, 80)
MLString(CX_ENUM_TABLE::mlShortName, 110, 13, 280)
ObjectListView(CX_ENUM_TABLE::entries, 110, 23, 280, 25) // display table entries
Function | MA* | Parameters | Return | Brief description |
---|---|---|---|---|
AddEntry | OBJECT | |||
Refresh 219714 | Updates the enum table in the enum cache of this machine | |||
RefreshAll 219714 | Empties the entire enum cache of the machine | |||
ShowContents | INTEGER | STRING | Brief information about the contents of the table, the parameter controls the scope | |
GetDomain | INTEGER | Domain of this object | ||
GetSiblings | COLLECTION | All siblings of this object | ||
GetSiblings2 | COLLECTION | All siblings of this object | ||
LastUpdate | OBJECT | Returns the date and time of the last write access | ||
LastUser | INTEGER | Returns the user who last had write access to the object. | ||
SetDomain | INTEGER, INTEGER | Set domain | ||
string | INTEGER | CX_STRING | Returns the string representation of the object | |
Unlink2 | Remove this object from the list of objects with validity | |||
VerifySiblings | INTEGER | Check ring of exchange objects |
* MA = Member Access Function
Data field | Type | Reference class | I* | Brief description |
---|---|---|---|---|
entries | COLL | CX_CLASS | ||
uniqueID | STRING |
* I = Indexable data field
Module | Brief description |
---|---|
enumerate.mod | Enumeration basic module |
enumeedt.mod | Enumeration Editing module |
enumesel.mod | Enumeration of selection module |